﻿@{
    ViewBag.Title = "UpdateHtml";
}
@section scripts
{   
    <script src="@Url.Content("~/Scripts/shared/share.js")" type="text/javascript"></script> 
    <script src="@Url.Content("~/Scripts/shared/shown.js")" type="text/javascript"></script>
}

<style>
    .canvas {
        width:100%;
        height:100%;
    }
</style>
<div id="html" class="canvas">

</div>


<script>
    function FormShown() {
    }

    function SetInfoData(data) {
        $.post("../updateinfo/getContent", { ID: data.FItemID }, function (data) {
            var htmlstr = decodeURIComponent(data);
            debugger;
            $("#html").html(htmlstr);
        });
    }
</script>